fid = fopen('../../data/in/glass_uncertain.txt', 'r');
[temp1] = fscanf(fid, '%d', [1,2]);
disp([temp1]);
temp1(2) = 2*temp1(2)+1;
data = fscanf(fid, '%lf', [temp1(2), temp1(1)]);
fclose(fid);
data = data';
label = data(:, 1);
N = size(data, 1);
attrib = 1;
interval = [data(:, attrib*2), data(:, attrib*2+1)];
[split_point, entropy] = id3_find_split(interval, label);
disp([split_point, entropy]);
